-- GENERATED SPELL FOR [Venture Co. Builder] --


function spell0_4070(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4070', 571, 1)
end

function Sorts_4070(pUnit, Event)
local choix_sorts_4070 = math.random(0, 0)
if choix_sorts_4070 == 0 then
pUnit:RegisterEvent('spell0_4070', 1, 1)
end
end

function mob4070_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4070', math.random(1500, 3000), 1)
end

function mob4070_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4070_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4070_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4070, 1, 'mob4070_Action')
RegisterUnitEvent(4070, 2, 'mob4070_Leave')
RegisterUnitEvent(4070, 3, 'mob4070_Kill')
RegisterUnitEvent(4070, 4, 'mob4070_Die')
